package com.sjw.smarturl.enums;

/**
 * @author sjw
 * @className StatusEnum
 * @date 2020/9/3 14:08
 * @description: TODO
 */
public enum StatusEnum {
    ILLEGAL_PARAMETER(420500, "参数错误");
    private int code;
    private String msg;

    private StatusEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
